import java.util.Scanner;
public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int cont;
		int run;
		run=-1;
		String ans;
		char truansa;
		if(run>-1){
			truansa=trauns;
		}
		char truans;
		Scanner input=new Scanner(System.in);
		System.out.println("What character would you like to see if is a character?");
		ans=input.next();
		truans=ans.charAt(0);
		run++;
		if(truansa==truans){
			System.out.println("You cannot put in the same number twice. Running again.");
			main(args);
		}
		if(Character.isLetter(truans)){
			System.out.println("You put in a letter");
		}
		else{
			System.out.println("You did not put in a letter");
		}
		System.out.println("Continue yes(1) or no(0)?");
		truansa=truans;
		cont=input.nextInt();
		if (cont==1){
			System.out.println("Okay cool");
			main(args);
		}
		else{
			System.out.println("Bye then");
		}
		

	}

}
